.class final Lnbisdk/po;
.super Ljava/lang/Object;


# direct methods
.method constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static a(J[BII)J
    .locals 8

    if-nez p2, :cond_0

    const-wide/16 p0, 0x1

    :goto_0
    return-wide p0

    :cond_0
    const-wide/32 v0, 0xffff

    and-long/2addr v0, p0

    const/16 v2, 0x10

    shr-long/2addr p0, v2

    const-wide/32 v2, 0xffff

    and-long/2addr p0, v2

    move-wide v6, v0

    move v0, p4

    move v1, p3

    move-wide p3, v6

    :goto_1
    if-lez v0, :cond_4

    const/16 v2, 0x15b0

    if-ge v0, v2, :cond_1

    move v2, v0

    :goto_2
    sub-int/2addr v0, v2

    :goto_3
    const/16 v3, 0x10

    if-lt v2, v3, :cond_2

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v3, 0x1

    aget-byte v3, p2, v3

    and-int/lit16 v3, v3, 0xff

    int-to-long v3, v3

    add-long/2addr p3, v3

    add-long/2addr p0, p3

    add-int/lit8 v2, v2, -0x10

    goto/16 :goto_3

    :cond_1
    const/16 v2, 0x15b0

    goto/16 :goto_2

    :cond_2
    if-eqz v2, :cond_3

    :goto_4
    add-int/lit8 v3, v1, 0x1

    aget-byte v1, p2, v1

    and-int/lit16 v1, v1, 0xff

    int-to-long v4, v1

    add-long/2addr p3, v4

    add-long/2addr p0, p3

    add-int/lit8 v1, v2, -0x1

    if-nez v1, :cond_5

    move v1, v3

    :cond_3
    const-wide/32 v2, 0xfff1

    rem-long/2addr p3, v2

    const-wide/32 v2, 0xfff1

    rem-long/2addr p0, v2

    goto/16 :goto_1

    :cond_4
    const/16 p2, 0x10

    shl-long/2addr p0, p2

    or-long/2addr p0, p3

    goto/16 :goto_0

    :cond_5
    move v2, v1

    move v1, v3

    goto :goto_4
.end method
